<template>
<!-- 
  16 路由 
-->
<div class="home">
  home
</div>
</template> 

<script setup lang="ts" name="Home">
import { onMounted } from 'vue'
import { useRouter } from 'vue-router'

let router = useRouter()

onMounted(()=>{
  setTimeout(() => {
    router.push('/news')
  }, 3000)
})
</script>
<style>

</style>